Package com.cisco.pt.ipc.sim.impl
Class PolicyMapQosClassImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.PolicyMapQosClassImpl
- All Implemented Interfaces:
IPCObject,PolicyMapQosClass
Information provided by the PKI file:
\class PolicyMapQosClass
\brief PolicyMapQosClass handles and manipulates QoS classes.
\example network().getDevice("Router0").getPolicyMapManager().getPolicyMapAt(0).getClassAt(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionPolicyMapQosClassImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSetDscpPrec(WredType wredType, boolean ipv4Only, int value) Information provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:Information provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidsetBandwidth(int bandwidth) Information provided by the PKI file:voidsetBandwidthPercent(int percent) Information provided by the PKI file:voidsetBandwidthRemainingPercent(int percent) Information provided by the PKI file:voidsetPriority(int bandwidth, int burst) Information provided by the PKI file:voidsetPriorityPercent(int percent, int burst) Information provided by the PKI file:voidsetQueueLimit(int limit) Information provided by the PKI file:voidsetShapeAvgCir(int cir) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
PolicyMapQosClassImpl
public PolicyMapQosClassImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
resetBandwidth
public void resetBandwidth()Information provided by the PKI file:
\brief Resets the bandwidth.- Specified by:
resetBandwidthin interfacePolicyMapQosClass
-
setBandwidth
public void setBandwidth(int bandwidth) Information provided by the PKI file:
\brief Sets the bandwidth value. \param bandwidth, the bandwidth value.- Specified by:
setBandwidthin interfacePolicyMapQosClass- Parameters:
bandwidth- Takes in a parameter of bandwidth
-
getBandwidth
public int getBandwidth()Information provided by the PKI file:
\brief Returns the bandwidth value. \return int, the bandwidth value.- Specified by:
getBandwidthin interfacePolicyMapQosClass- Returns:
- int Returns a int
-
setBandwidthPercent
public void setBandwidthPercent(int percent) Information provided by the PKI file:
\brief Sets the bandwidth percentage value. \param percent, the bandwidth percentage value.- Specified by:
setBandwidthPercentin interfacePolicyMapQosClass- Parameters:
percent- Takes in a parameter of percent
-
getBandwidthPercent
public int getBandwidthPercent()Information provided by the PKI file:
\brief Returns the bandwidth percentage value. \return int, the bandwidth percentage value.- Specified by:
getBandwidthPercentin interfacePolicyMapQosClass- Returns:
- int Returns a int
-
setBandwidthRemainingPercent
public void setBandwidthRemainingPercent(int percent) Information provided by the PKI file:
\brief Sets the bandwidth remaining percentage value. \param percent, the bandwidth remaining percentage value.- Specified by:
setBandwidthRemainingPercentin interfacePolicyMapQosClass- Parameters:
percent- Takes in a parameter of percent
-
getBandwidthRemainingPercent
public int getBandwidthRemainingPercent()Information provided by the PKI file:
\brief Returns the bandwidth remaining percentage value. \return int, the bandwidth remaining percentage value.- Specified by:
getBandwidthRemainingPercentin interfacePolicyMapQosClass- Returns:
- int Returns a int
-
isBandwidthConfigured
public boolean isBandwidthConfigured()Information provided by the PKI file:
\brief Returns true if the bandwidth is configured, otherwise false. \return bool, true if the bandwidth is configured, otherwise false.- Specified by:
isBandwidthConfiguredin interfacePolicyMapQosClass- Returns:
- boolean Returns a boolean
-
resetQueueLimit
public void resetQueueLimit()Information provided by the PKI file:
\brief Resets the queue-limit.- Specified by:
resetQueueLimitin interfacePolicyMapQosClass
-
getQueueLimit
public int getQueueLimit()Information provided by the PKI file:
\brief Returns the queue-limit value. \return int, the queue-limit value.- Specified by:
getQueueLimitin interfacePolicyMapQosClass- Returns:
- int Returns a int
-
setQueueLimit
public void setQueueLimit(int limit) Information provided by the PKI file:
\brief Sets the queue-limit value. \param limit, the queue-limit value.- Specified by:
setQueueLimitin interfacePolicyMapQosClass- Parameters:
limit- Takes in a parameter of limit
-
getDefaultQueueLimit
public int getDefaultQueueLimit()Information provided by the PKI file:
\brief Returns the default queue-limit value. \return int, the default queue-limit value.- Specified by:
getDefaultQueueLimitin interfacePolicyMapQosClass- Returns:
- int Returns a int
-
resetPriority
public void resetPriority()Information provided by the PKI file:
\brief Resets the priority.- Specified by:
resetPriorityin interfacePolicyMapQosClass
-
setPriority
public void setPriority(int bandwidth, int burst) Information provided by the PKI file:
\brief Sets the priority. \param bandwidth, the priority value. \param burst, the burst value.- Specified by:
setPriorityin interfacePolicyMapQosClass- Parameters:
bandwidth- Takes in a parameter of bandwidthburst- Takes in a parameter of burst
-
getPriority
public int getPriority()Information provided by the PKI file:
\brief Returns the priority value. \return int, the priority value.- Specified by:
getPriorityin interfacePolicyMapQosClass- Returns:
- int Returns a int
-
setPriorityPercent
public void setPriorityPercent(int percent, int burst) Information provided by the PKI file:
\brief Sets the priority percentage. \param percent, the percentage value. \param burst, the burst value.- Specified by:
setPriorityPercentin interfacePolicyMapQosClass- Parameters:
percent- Takes in a parameter of percentburst- Takes in a parameter of burst
-
getPriorityPercent
public int getPriorityPercent()Information provided by the PKI file:
\brief Returns the priority percentage value. \return int, the priority percentage value.- Specified by:
getPriorityPercentin interfacePolicyMapQosClass- Returns:
- int Returns a int
-
getPriorityBurst
public int getPriorityBurst()Information provided by the PKI file:
\brief Returns the priority burst value. \return int, the priority burst value.- Specified by:
getPriorityBurstin interfacePolicyMapQosClass- Returns:
- int Returns a int
-
getPriorityBurstDefault
public int getPriorityBurstDefault()Information provided by the PKI file:
\brief Returns the default priority burst value. \return int, the default priority burst value.- Specified by:
getPriorityBurstDefaultin interfacePolicyMapQosClass- Returns:
- int Returns a int
-
isPriorityConfigured
public boolean isPriorityConfigured()Information provided by the PKI file:
\brief Returns true if the priority is configured, otherwise false. \return bool, true if the priority is configured, otherwise false.- Specified by:
isPriorityConfiguredin interfacePolicyMapQosClass- Returns:
- boolean Returns a boolean
-
addSetDscpPrec
Information provided by the PKI file:
\brief Adds DSCP or IP Precedence. \param wredType, the QoS policy type. QoS policy types: eWredDscp = 0, eWredPrec = 1 \param ipv4Only, true for IPv4 only, false for both IPv4 and IPv6. \param value, the value for the QoS policy type.- Specified by:
addSetDscpPrecin interfacePolicyMapQosClass- Parameters:
wredType- Takes in a parameter of wredTypeipv4Only- Takes in a parameter of ipv4Onlyvalue- Takes in a parameter of value
-
removeSetDscpPrec
public void removeSetDscpPrec()Information provided by the PKI file:
\brief Removes DSCP or IP Precedence.- Specified by:
removeSetDscpPrecin interfacePolicyMapQosClass
-
getSetDscpPrec
Information provided by the PKI file:
\brief Returns the DSCP or IP precedence. \return PolicyClassSetDscp, the PolicyClassSetDscp object.- Specified by:
getSetDscpPrecin interfacePolicyMapQosClass- Returns:
- PolicyClassSetDscp Returns a PolicyClassSetDscp
-
resetShapeAvgCir
public void resetShapeAvgCir()Information provided by the PKI file:
\brief Resets the shaper average CIR.- Specified by:
resetShapeAvgCirin interfacePolicyMapQosClass
-
setShapeAvgCir
public void setShapeAvgCir(int cir) Information provided by the PKI file:
\brief Sets shaper average CIR value. \param cir, shaper average CIR value.- Specified by:
setShapeAvgCirin interfacePolicyMapQosClass- Parameters:
cir- Takes in a parameter of cir
-
isShapeConfigured
public boolean isShapeConfigured()Information provided by the PKI file:
\brief Returns true if traffic shaping is configured, otherwise false. \return bool, true if traffic shaping is configured, otherwise false.- Specified by:
isShapeConfiguredin interfacePolicyMapQosClass- Returns:
- boolean Returns a boolean
-
getFairQueueSize
public int getFairQueueSize()Information provided by the PKI file:
\brief Returns the fair queue size value. \return int, the fair queue size value.- Specified by:
getFairQueueSizein interfacePolicyMapQosClass- Returns:
- int Returns a int
-
isFairQueueConfigured
public boolean isFairQueueConfigured()Information provided by the PKI file:
\brief Returns true if fair queueing is configured, otherwise false. \return bool, true if fair queueing is configured, otherwise false.- Specified by:
isFairQueueConfiguredin interfacePolicyMapQosClass- Returns:
- boolean Returns a boolean
-
getDefaultFairQueueSize
public int getDefaultFairQueueSize()Information provided by the PKI file:
\brief Returns the default fair queue size. \return int, the default fair queue size.- Specified by:
getDefaultFairQueueSizein interfacePolicyMapQosClass- Returns:
- int Returns a int
-
isClassDefault
public boolean isClassDefault()Information provided by the PKI file:
\brief Returns true if class default, otherwise false. \return bool, true if class default, otherwise false.- Specified by:
isClassDefaultin interfacePolicyMapQosClass- Returns:
- boolean Returns a boolean
-